﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class MoreControl : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void Calendar1_SelectionChanged(object sender, EventArgs e)
    {
        Response.Write(Calendar1.SelectedDate);
    }

    protected void ImageMap1_Click(object sender, ImageMapEventArgs e)
    {
        switch (e.PostBackValue)
        {
            case "MB":
                Response.Write("Miền Bắc");
                break;

            case "MT":
                Response.Write("Miền Trung");
                break;

            case "MN":
                Response.Write("Miền Nam");
                break;

            default:
                Response.Write("!!!"); // statement
                break;
        }
    }
    protected void Button2_Click(object sender, EventArgs e)
    {
        int index = MultiView1.ActiveViewIndex + 1;

        MultiView1.ActiveViewIndex = index % MultiView1.Views.Count;
    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        MultiView1.ActiveViewIndex -= 1;
    }
}